package com.itheima.a01mymap;

import java.util.LinkedHashMap;

public class A03_LinkedHashMapDemo1 {
    public static void main(String[] args) {
        //熟悉LinkedHashMap,可以保证存取有序

        //创建对象
        LinkedHashMap<String, Integer> lhm = new LinkedHashMap<>();

        lhm.put("qq",1);
        lhm.put("ww",2);
        lhm.put("qq",3);
        lhm.put("ss",4);

        System.out.println(lhm);
    }
}
